/**
 * @ClassName LC2549
 * @Author ykx
 * @Date 2024/3/23 8:05
 * @Version 1.0
 */
public class LC2549 {
    public int distinctIntegers(int n) {
        return n > 1 ? n - 1 : 1;
    }

}
